package com.design.movieticket.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class MovieDto implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    Long id;//影片id

    String movieName;//影片名

    String last;//影片时长

    String movieType;//影片类型

    String still;//剧照

    String introduction;//影片介绍

    String director;//影片导演

    String cast;//影片演员表

    String playWay;//支持放映方式
}
